projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ba872
)
wayland: Explicitly require RGBA8888
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 17 Jun 2019 16:41:01 +0000
(12:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 17 Jun 2019 16:41:01 +0000
(12:41 -0400)
Its the format we expect to have. If we want to
support 10-bit visuals at some point, that should
be an explicit decision.
gdk/wayland/gdkglcontext-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkglcontext-wayland.c
b/gdk/wayland/gdkglcontext-wayland.c
index edeca4916c038b4e2bad5db4c99a65a6f81d5e9c..40df428a384a8be823e25ffc0efc69900f9262b1 100644
(file)
--- a/
gdk/wayland/gdkglcontext-wayland.c
+++ b/
gdk/wayland/gdkglcontext-wayland.c
@@
-391,13
+391,13
@@
find_eglconfig_for_surface (GdkSurface *surface,
attrs[i++] = EGL_RGB_BUFFER;
attrs[i++] = EGL_RED_SIZE;
- attrs[i++] =
1
;
+ attrs[i++] =
8
;
attrs[i++] = EGL_GREEN_SIZE;
- attrs[i++] =
1
;
+ attrs[i++] =
8
;
attrs[i++] = EGL_BLUE_SIZE;
- attrs[i++] =
1
;
+ attrs[i++] =
8
;
attrs[i++] = EGL_ALPHA_SIZE;
- attrs[i++] =
1
;
+ attrs[i++] =
8
;
attrs[i++] = EGL_NONE;
g_assert (i < MAX_EGL_ATTRS);